home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-19
/
iritsm3s.zip
/
CTRL-BRK.H
< prev
next >
Wrap
C/C++ Source or Header
|
1992-01-28
|
887b
|
35 lines
/*****************************************************************************
* Module to trap ctrl-brk/hardware error and handle them gracefully. *
* Note the usage of GraphGen.c module is assumed. *
* *
* Written by: Gershon Elber Ver 1.1, Mar. 1990 *
*****************************************************************************/
#ifndef CTRL_BRK_H
#define CTRL_BRK_H
#ifndef LINE_LEN
#define LINE_LEN 128
#endif /* LINE_LEN */
#ifndef TRUE
#define TRUE 1
#define FALSE 0
#endif /* TRUE */
#define BIOS_CTRL_BRK 0x1b
#define IGNORE 0 /* Actions to take in hardware error. */
#define RETRY 1
#define ABORT 2
/* And finally the prototypes of the external routines: */
extern int GlblWasCtrlBrk;
void SetUpCtrlBrk(void);
void RestoreCtrlBrk(void);
void SetUpHardErr(void);
#endif /* CTRL_BRK_H */